package ink.metoo.gude.module.websocket.service

import ink.metoo.gude.module.websocket.domain.dto.HistoryMessageDTO
import ink.metoo.gude.module.websocket.domain.dto.MessageDTO
import org.springframework.security.core.Authentication

interface MessageService {

    fun doMessage(message: MessageDTO, token: Authentication)

    fun doHistoryMessage(dto: HistoryMessageDTO, token: Authentication)

}